package com.woniuxy.school.dietary.store.model.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

@Data
@ApiModel(description = "查询商家信息使用的模型对象")
public class FindStoreFrom {
    @ApiModelProperty(value = "商家id")
    @Positive(message = "商家id必须为正数")
    @NotNull(message = "商家id不能为空")
    private Long storeId;


}
